﻿using Azure.QPCR;

namespace Azure2Java.QPCRAdapter.Adapter.Entity {

    /**
     * @author zy gws ssc
     * @date 18.12.21
     * @update 19.12.06
     * @decription 
     */
    public class ExperimentalDataBean {

        private ExperimentalData ExperimentalData;

        public ExperimentalDataBean(ExperimentalData ExperimentalData) {
            this.ExperimentalData = ExperimentalData;
        }

        /**
         * 以下ExprimentalData.get/set包装方法
         * 位于namespace Azure.QPCR中DataProcesser文件下，APD文件处理后和实时上传时实验数据每个步骤每个循环的数据格式。
         *   QPCR有6个通道，每个通道存放96孔的数据，其排列格式如下：
         *   Channelx[0] -Channelx[7] A1, B1, C1, D1, E1, F1, G1, H1
         *   Channelx[8] -Channelx[15]A2, B2, C2, D2, E2, F2, G2, H2
         *   Channelx[16]-Channelx[23]A3, B3, C3, D3, E3, F3, G3, H3
         *   Channelx[24]-Channelx[31]A4, B4, C4, D4, E4, F4, G4, H4
         *   Channelx[32]-Channelx[39]A5, B5, C5, D5, E5, F5, G5, H5
         *   Channelx[40]-Channelx[47]A6, B6, C6, D6, E6, F6, G6, H6
         *   Channelx[48]-Channelx[55]A7, B7, C7, D7, E7, F7, G7, H7
         *   Channelx[56]-Channelx[63]A8, B8, C8, D8, E8, F8, G8, H8
         *   Channelx[64]-Channelx[71]A9, B9, C9, D9, E9, F9, G9, H9
         *   Channelx[72]-Channelx[79]A10,B10,C10,D10,E10,F10,G10,H10
         *   Channelx[80]-Channelx[87]A11,B11,C11,D11,E11,F11,G11,H11
         *   Channelx[88]-Channelx[95]A12,B12,C12,D12,E12,F12,G12,H12
         */
        public ushort getStepNumber() { return ExperimentalData.StepNumber; }

        public ushort getStepCycle() { return ExperimentalData.StepCycle; }

        public float[] getChannel1() { return ExperimentalData.Channel1; }

        public float[] getChannel2() { return ExperimentalData.Channel2; }

        public float[] getChannel3() { return ExperimentalData.Channel3; }

        public float[] getChannel4() { return ExperimentalData.Channel4; }

        public float[] getChannel5() { return ExperimentalData.Channel5; }

        public float[] getChannel6() { return ExperimentalData.Channel6; }
    }
}
